package Java_Concurrency_in_Practice.reentrant;

public class Widget {
	public synchronized void doSth() {
		String tname = Thread.currentThread().getName();
		System.out.println(tname + " parent do Sth ...");
	}
}
